package com.jotton.minnadekakeibo.Listener;

import android.content.Context;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ContextMenu.ContextMenuInfo;

public class minnadekakeiboAEventListener
{
	private Context context;

	
	private View.OnClickListener onClickLnr;
	private View.OnLongClickListener onLngClickLnr;
	private View.OnTouchListener onTouchLnr;
	private View.OnKeyListener onKeyLnr;

	public minnadekakeiboAEventListener(Context ctx)
	{
		context = ctx;
	}
	
	public void AttachOnClick(View v)
	{
		v.setOnClickListener(onClickLnr);
		onClickLnr = new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				
			}
		};
	}
	
	public void AttachOnLongClickListener(View v)
	{
		v.setOnLongClickListener(onLngClickLnr);
		onLngClickLnr = new View.OnLongClickListener() {
			
			@Override
			public boolean onLongClick(View v) {
				// TODO Auto-generated method stub
				return false;
			}
		};
	}
	
	public void AttachOnTouchListener(View v)
	{
		v.setOnTouchListener(onTouchLnr);
		onTouchLnr = new View.OnTouchListener() {
			
			@Override
			public boolean onTouch(View v, MotionEvent event) {
				// TODO Auto-generated method stub
				return false;
			}
		};
	}

	
	
}
